/* 修改首页商品展示价格 */
.price-tag {
  padding: 1px 3px;
}

/* 总体背景 */
body {
  background-color: rgb(240, 239, 238); 
}

/* 导航栏 */
nav {
  background-color: white;
}

nav .navbar-nav a {
  color: black;
  margin:0 5px;
}

body{
    padding-top: 72px;
}

/* logo */
.my-nav .logo {
  width: 40px;
  height: 40px;
}
.my-nav .logo img{
    width: 100%;
}

/* 页尾 */
footer .row{
  text-align: center;
}

footer .row div:first-child img{
    width: 100px;
}
footer li{
    margin-top: 14px;
}
footer li:hover{
    color: skyblue;
    cursor:pointer;
}
footer .end{
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
footer .end div{
  margin: 10px;
}




/* 大菜单 */
#menu > ul > li.active{
  border-bottom: 2px solid red;
}



/* 广告 */
.gg{
  display: flex;
  justify-content: center;
}
.gg > div{
  margin: 0 50px;
}
.gg > div img {
  margin-left: 20px;
}


/* food 分类 */
/* 大的 */
#vuebox .bigbox .food {
  display: none;    
}
#vuebox .bigbox .food.active {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;  
}
#vuebox .bigbox .food div {
  width: 20%;
  text-align: center;
  border: 3px solid rgb(220,53,69);
  border-radius: 15px;
  background-color: white;
  margin: 10px 5px;
}
#vuebox .bigbox img{
  width: 100%;
}
#vuebox .bigbox h3{
  background-color: rgb(220,53,69);
  margin: 0;
  border-radius: 0 0 5px 5px;
  padding: 16px 0;
  color: rgb(255, 212, 22);
}


/* 小的 */
#vuebox{
  background-color: #fff;
  padding-top: 20px;
}


#vuebox .smallbox{
  display: flex;
  justify-content: space-around;
}
#vuebox .smallbox div{
  text-align: center;
  width: 15%;
  margin: 20px 0;
  cursor: pointer;
  border: 1px solid gray;
  border-radius: 5px;
  background-color: rgb(230,230,230)
  
}

#vuebox .smallbox img{
  width: 20%;
  display: none;
}

#vuebox .smallbox >div.active{
  border-bottom: 2px solid  rgb(220,53,69);
}

#vuebox .smallbox img.active{
  width: 20%;
  display: block;
  margin: 0 auto;
}

#vuebox .smallbox h2{
  margin: 5px 0;
  vertical-align: bottom;
}






/* about 关于我们 */

#main .about>div{
  position: relative;
  padding-bottom: 100px;
}
#main .about h1{
  font-weight: 700;
  position: absolute;
  color: white;
}
#main .about .t1{
  top: 25%;
  left: 5%;
}
#main .about .t2{
  top: 40%;
  left: 5%;
}
#main .about .t3{
  top: 55%;
  left: 5%;
}
#main .about img{
  position: absolute;
  top: 0px;
  right: 0px;
}
#main .about .t4{
  position: absolute;
  width: 400px;
  text-align: center;
  left: 60px;
  margin-top: 20px;
}


/* 关于我们部分 */
#heart li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 80px 0;
}
#heart li div:nth-child(1){
  width: 80%;
  padding: 0 60px;
}

#heart li div:nth-child(2){
  width: 90%;
}

#heart li img{
  width: 90%;
}

#heart span:nth-child(1){
  font-size: 24px;
  font-family: 'Times New Roman';
  font-weight: 600;
}

#heart h2{
  font-weight: 700;
}






/* 登录 */
.login {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login > div {
  width: 400px;
}
.login .run {
  width: 100px;
  height: 50px;
  background-color: skyblue;
  color: white;
  border: 2px solid rgb(9, 129, 228);
  border-radius: 10px;
  margin-top: 48px;
  font-size: 20px;
}





/* 用户中心 */
#user h1{
  text-align: center;
  padding-top: 30px;
}
#user .selc{
  padding-left: 50px;
}
#user .more{
  border: 2px solid rgb(224, 83, 83);
  border-radius: 20px;
}
#user .more div{
  display: none;
  width: 600px;
  margin: 20px 0 20px 100px;
}
#user .more div.active{
  display: block
}

#user .selc ul{
  width: 250px;
  padding: 0;
}
#user .selc li{
  text-align: center;
  display: flex;
  flex-direction: column;
  margin: 20px 10px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgb(224, 83, 83);
  color: #fff;
}
#user .selc li.active{
  background-color: orange;
}

#user .fu{
  display: flex;
  justify-content: space-around;
  margin: 30px;
}

#user h5{
  margin: 20px 10px;
}
#user h3{
  padding: 10px 80px;
}
#user .more button{
  color: white;
  background-color: rgb(224, 83, 83);
  border-radius: 10px;
  border: 1px solid transparent;
  width: 50px;
  padding: 5px;
  margin-left: 5px;
}
#user .more button:hover{
  background-color: orange;
}

#user .more input{
  width:300px;
  line-height: 30px;
  padding: 2px 6px;

}



/* 模态框 */
.motai{
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 500px;
}
.motai .wenzi{
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}
.motai>img{
  width: 100%;
}
.motai .modal-body{
  padding: 20px 80px;
}
.motai .modal-header img{
  margin-right: 20px;
}
.motai .modal-header h5{
  font-size: 36px
}





/* 最后冲刺 */
.taocan .shang{
  padding-left: 3rem;
  margin: 10px 0;
}
.taocan .shang h5{
  font-weight: 700;
}

.taocan{
  margin-top: 40px;
  margin-left: 5px;
}
.taocan .xia{
  display: flex;
  width: 70%;
  flex-wrap: wrap;
}

.taocan .xia div{
  display: flex;
  flex-direction: column;
  margin-right: 20px;
  margin-bottom: 20px;
  background-color: rgb(231, 228, 228);
  border: 1px solid transparent;
  border-radius: 15px;
}

.taocan .xia div:hover{
  box-shadow: 0px 0px 10px gray;
}

.taocan .xia img{
  width: 250px;
}
.taocan .xia span{
  text-align: center;
  margin: 20px 0;
  font-size: 20px;
}

.abs{
  position: absolute;
  bottom: 0;
  height: 100%;
  left: 66%;
  width: 32%;
}
.abs div{
  border: 2px solid rgb(238,42,42);
  position: sticky;
  top: 120px;
  height: 700px;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0px 0px 15px gray;
}
.abs div #ttt{
  margin-left: 30px;
  height: 25px;
  position: absolute;
  top: 0;
}

.abs div h1{
  margin: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.abs div button{
  color: white;
  background-color: rgb(228,0,43);
  padding: 10px 25px;
  border: 1px solid transparent;
  border-radius: 20px;
  position: absolute;
  bottom: 25px;
  left: 76px;
}

.taocan i{
  position: absolute;
  right: 15px;
  top: 12px;
}

.abs li{
  list-style: none;
  font-size: 18px;
  margin: 10px 5px;
}

.abs>div>h6{
  border: 1px solid transparent;
  padding: 10px 20px;
}

img{
  cursor: pointer;
}